<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>中国fund基金</title>
<meta name="keywords" content="中国fund基金" />
<meta name="description" content="中国fund基金" />
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE" />

<link href="__PUBLIC__/Css/master.css" rel="stylesheet" media="screen" type="text/css" />
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/uvall.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/common11.js\"></sc"+"ript>")</script>


<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Base.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/prototype.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/mootools.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Ajax/ThinkAjax.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Form/CheckForm.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/common.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/Util/ImageLoader.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/myfocus-1.0.4.min.js\"></sc"+"ript>")</script>
<script type="text/javascript">document.write("<scr"+"ipt src=\"__PUBLIC__/Js/all.js\"></sc"+"ript>")</script>









<style type="text/css">

#among .member #formStyle ul li.tn{
	width:180px;
}
#among .member #formStyle ul li.checkbox,
#among .member #formStyle ul li.button{
	margin-left:189px;
}
</style>


<script type="text/javascript">

function addFileNameToInput(){
	$(".file a span").text("已选择文件");
	$(".file a span").css({color:"#bc3f2d"});
}
</script>


<load href="__PUBLIC__/Js/UserJs.js" />
<script language="javascript">

var PUBLIC	 =	 '/Public';
ThinkAjax.image = [	 '/Public/Images/loading2.gif', '/Public/Images/ok.gif','/Public/Images/update.gif' ]
ThinkAjax.updateTip	=	'发送中～';
function loginHandle(data,status){
if (status==1)
{
$('result').innerHTML	=	'<span style="color:blue"><img SRC="/Public/Images/ok.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle" > 登录成功！3 秒后跳转～</span>';
$('form1').reset();
window.location = '/index.php/Public';
}else{
	fleshVerify();
}
}
function keydown(e){
	var e = e || event;
	if (e.keyCode==13)
	{
	ThinkAjax.sendForm('form1','/index.php/Public/checkLogin/',loginHandle,'result');
	}
}
function fleshVerify(type){
//重载验证码
var timenow = new Date().getTime();
if (type)
{
$('verifyImg').src= '/index.php/Public/verify/adv/1/'+timenow;
}else{
$('verifyImg').src= '/3mmm/mmm/index.php/Public/verify/'+timenow;
}

}

//

 function yhServer(Ful,lx){
	var str = $F(Ful).replace(/^\s+|\s+$/g,"");
	var re = /[^(\w){6,20}$]/g;
	str = str.replace(re,"");
	document.getElementById(Ful).value = str;
	if (str != ""){
		if(lx==0){ThinkAjax.send('__APP__/Fck/check_shopid/','ajax=1&shopid='+str,'',Ful+'1');}
		if(lx==1){ThinkAjax.send('__APP__/Fck/check_reid/','ajax=1&reid='+str,'',Ful+'1');}
		if(lx==2){ThinkAjax.send('__APP__/Fck/check_fid/','ajax=1&fid='+str,'',Ful+'1');}
		if(lx==3){ThinkAjax.send('__APP__/Fck/check_userid/','ajax=1&userid='+str,'',Ful+'1');}
	}
}

function guolv(Ful){
	var str = $F(Ful).replace(/^\s+|\s+$/g,"");
	var re = /[^(\w){6,20}$]/g;
	str = str.replace(re,"");
	document.getElementById(Ful).value = str;
}
   function checkmobile(Ful){
	   
    var mobile = document.getElementById('UserTel').value;

    if(mobile == ''){
		alert('手机号不能为空');
		return false;
	}

    var partten = /^1[3,4,5,7,8]\d{9}$/;
     
    if(!partten.test(mobile)){
        alert('请输入正确的手机号码格式');
        return false;
    }


	 ThinkAjax.send('__APP__/Sms/checkmobile/','ajax=1&mobile='+mobile,'',Ful+'1');
	
 }
window.onload = function(){
	fleshVerify();
}

</script>

</head>

<body id="member">
<div id="wrapper">
  <ul id="header">
    <li class="logo"><a href="引导页.html"><img src="__PUBLIC__/images/logo1.png" /></a></li>
  </ul>
  
     <form method='post' id="form1" name="form1" action="__URL__/us_regAC"/>
  <div id="among">
    <div class="member">
      <div class="tn">新用户注册</div>
      <div class="bg_line"></div>
      <div id="formStyle" style="margin-top:30px">
        <ul>
          <li class="tn"><span>*</span>推荐人编号：</li>
          <li class="input"><input name="RID" id="RID" type="text" value="{$rs['user_id']}" class="ipt" onKeyUp="guolv(this.name)"  onBlur="javascript:yhServer(this.name,'1');" /></li>
          <li class="Prompt" style="width:298px">不要去修改否则会报错</li>
       

		 <li class="clear"></li>
        </ul>
        <ul>
          <li class="tn"><span>*</span>推荐人电话：</li>
          <li class="input hover"><input name="tuihao" type="text" class="ipt"  id="tuihao" onKeyUp="javascript:Null_Full(this.name)" value="{$rs['user_tel']}"/></li>
          <li class="Prompt hover" style="width:298px">不要去修改或者不用管</li>
          <li class="clear"></li>
        </ul>
        <ul>
          <li class="tn"><span>*</span>会员编号：</li>
          <li class="input">  <input name="UserID" id="UserID" type="text"  value="" class="ipt" onBlur="javascript:yhServer(this.name,'3');"/></li>
          <li class="Prompt hover" style="width:298px">推荐使用用手机号码例如18018181818</li>
		 <li class="clear"></li>
        </ul>
      <!--  <ul>
          <li class="tn"><span>*</span>QQ号码：</li>
          <li class="input"><input name="qq" type="text" class="ipt"  id="qq" onKeyUp="javascript:Null_Int(this.name)" value="" /></li>
          <li class="clear"></li>
        </ul> --> 
        <ul>
          <li class="tn"><span>*</span>会员手机号：</li>
          <li class="input"><input name="UserTel" type="text" class="ipt"  id="UserTel" onKeyUp="javascript:Null_Full(this.name)" value=""/></li>
          <li class="clear"></li>
        </ul>
        
        <ul>
          <li class="tn"><span>*</span>所属报单中心：</li>
          <li class="input"><input name="suoshubaodan" type="text" class="ipt"  id="suoshubaodan" onKeyUp="javascript:Null_Full(this.name)" value=""/></li>
          <li class="clear"></li>
        </ul>
        
     <!--     <ul>
          <li class="tn"><span>*</span>身份证号码：</li>
          <li class="input"><input name="UserCode" type="text" class="ipt" id="UserCode" onKeyUp="javascript:Null_Full(this.name)" value="" maxlength="18" /></li>
          <li class="clear"></li>
        </ul>--> 
        <ul>
          <li class="tn"><span>*</span>登录密码：</li>
          <li class="input"><input name="Password" type="password" class="ipt"  id="Password" onblur="yhPass(this.name);" value=""/></li>
          <li class="clear"></li>
        </ul>
        <ul>
          <li class="tn"><span>*</span>确认密码：</li>
          <li class="input"><input name="rePassword" type="password" class="ipt"  id="rePassword" onblur="yhrePass(this.name,'Password');" value=""/></li>
          <li class="clear"></li>
        </ul>
        <ul>
          <li class="tn"><span>*</span>二级密码：</li>
          <li class="input"><input name="PassOpen" type="password" class="ipt"  id="PassOpen" onblur="yhPass(this.name);" value=""/></li>
          <li class="clear"></li>
        </ul>
        <ul>
          <li class="tn"><span>*</span>确认密码：</li>
          <li class="input"><input name="rePassOpen" type="password" class="ipt"  id="rePassOpen" onblur="yhrePass(this.name,'PassOpen');" value=""/></li>
          <li class="clear"></li>
        </ul>

 <!--     <ul>
       <li class="tn"><span>*</span> 开户银行：</li>
        <li><select style="width:280px;height:40px;" name="BankName" onChange="javasctip:bank_us(this.value);">
          <volist name='bank' id='voo'>
              <option value="{$bank[$key]}">{$bank[$key]}</option>
          </volist>
        </select></li>
        <li class="clear"></li>
       </ul>

      <ul>
        <li class="tn"><span class="zc_hong">*</span> <span id="bank_id"><eq name="bank[0]" value="财付通">帐号<else />银行账号</eq></span>：</li>
        <li class="input"><input name="BankCard" type="text" class="ipt" id="BankCard" onKeyUp="javascript:Null_Full(this.name)" value="" maxlength="19" /></li>
       <li class="clear"></li>
     </ul> 
     
 <ul>
         <li class="tn"><span>*</span> 开户姓名：</li>
        <li class="input"><input name="UserName" type="text" class="ipt"  id="UserName" onKeyUp="javascript:Null_Full(this.name)" value="" maxlength="10" /></li>
        <li class="clear"></li>
         </ul> 

<ul>
        <li class="tn"><span>*</span>省份：</li>
        <li><select style="width:280px;height:40px;" name="BankProvince" id="s1" >
            <option></option>
          </select></li>
      <li class="clear"></li>
      </ul> 
      
     <ul>
         <li class="tn"><span>*</span>城市：</li>
        <li><select style="width:280px;height:40px;" name="BankCity" id="s2" >
            <option></option>
          </select></li>
           <li class="clear"></li>
       </ul> 
      
       <script language = JavaScript>
        var s=["s1","s2"];
        var opt0 = ["请选择","请选择"];
        function setup()
        {
            for(i=0;i<s.length-1;i++)
            document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")");
            change(0);
        }
        setup();
      </script>-->
	  
	  
	    <if condition="$duanx eq 1" >
      
           <ul>      
          <li class="tn"><span>*</span>手机验证码：</li>
          <li class="input" style="width:148px"><input type="text" name="verify" maxlength="6" placeholder="验证码"  onKeyDown="keydown(event)" id="Code"></li>
	   <li class="button"> <input style="margin-left:150px;" type="button" onclick="javascript:checkmobile('TelValidate')" value="发送" /></li>
	   <div id="TelValidate1" class="info"><div id="24" class="focus_r"><div class="msg_tip"></div></div></div></td>
          <li class="clear"></li>
        </ul>
        
		
		</if>
		
        
         <!--    <ul>
             <li class="tn">申请级别：</li>
           <li>
            <volist name="s9" id="svo">
            <eq name="key" value="0">
            <input name="u_level" type="radio" id="radio" value="{$key}" checked="checked"  />
            <strong><span class="STYLE3">{$s9[$key]}元</span></strong>
            </eq>
            </volist>

            </li>
      </ul>--> 
      
        <ul>
          <li class="checkbox"><input type="checkbox" checked="checked">我已阅读并同意<a>《用户注册协议》</a></li>
          <li class="clear"></li>
        </ul>
        <ul>
          <li class="button"><input type="submit" value="立刻注册" /></li>
          <li class="clear"></li>
        </ul>
      </div>
    </div>
  </div>
  </form>
  <div id="footer">
    <div class="copyright">Copyright © 2016 中国fund基金 版权所有<!-- 为了能够正常使用，建议保留该链接 --> <a title="友软科技" href="http://www.urkeji.com/" id="qq853616368" target="_blank">高端网站建设</a></div>
  </div>
</div>

</body></html>